package org.example;

public class Generic_Demo_A2 {
    public static void main(String[] args) {
        //实现类延续泛型，创建实现类对象是再确定
        ArrayList_Interface2<String> list = new ArrayList_Interface2<>();
        list.add("1");
        list.add("2");
        list.add("3");
        System.out.println(list);
    }
}
